#pragma once
#ifndef _SHAPESTRUCT_

#include "pch.h"
#include "Block.h"

#endif // !_SHAPESTRUCT_


class ShapeStruct
{
private:
	CELLCUBE m_data[16] = { 0 };
public:
	ShapeStruct();
	void ChangeDirection();
	CELLCUBE GetCube(UINT row, UINT col) { return m_data[row * 4 + col]; };
	void SetCube(UINT row, UINT col, XMFLOAT4 color, UINT8 isShow) {
		m_data[row * 4 + col].color = color;
		m_data[row * 4 + col].isShow = isShow;
	};
	XMFLOAT4 Color;
	int Left = 4;
	int Top = 0;
	UINT Width = 0;
	UINT Height = 0;
	UINT Shape = 0;
};

